export const containerDefault = {
  title: '工作空间-1',
  width: 1920,
  height: 1080,
  backgroundColor: "#232324",
  backgroundImage: "",
  backgroundSize: "100% 100%"
}

export const compDefault = {
  id: '',
  temp: '',
  label: '',
  type: '',
  grid: {
    top: 0,
    left: 0,
    width: 0,
    height: 0
  },
  resizeGrid: {
    top: '0%',
    left: '0%',
    width: '0%',
    height: '0%'
  },
  style: {
    panelStyle: {
      backgroundColor: "#232324",
      backgroundImage: '',
      border: {
        show: false,
        borderColor: '#101014',
        borderWidth: 1,
        borderType: 'solid',
        borderRadius: 0
      }
    },
    animate: {
      isInfinite: false,
      classNames: []
    }
  },
  config: {
    isShow: true,
    isActive: false,
    draggable: true,
    resizable: true,
    lockAspectRatio: false,
    disabledX: false,
    disabledY: false,
    disabledW: false,
    disabledH: false,
    parent: true
  },
  data: [],
  server: {
    dataType: '0',
    isLoop: false,
    loopTime: 10,
    handler: 'return res.data',
    config: {
      url: '',
      method: 'get',
      headers: [],
      params: [],
      body: [],
    }
  }
}